<% flash.each do |k, v| %>
  <div class="row justify-content-center">
    <div class="col-md-6">
      <div class="alert alert-<%= k %> alert-dismissible fade show mx-4">
        <div class="container">
          <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>

          <%= sanitize v.html_safe %>
        </div>
      </div>
    </div>
  </div>
<% end %>
